
// Boost Includes ==============================================================
#include <boost/python.hpp>
#include <boost/cstdint.hpp>

// Includes ====================================================================
#include <OpenSG/OSGGraphicStatisticsForeground.h>
#include <OpenSG/OSGGraphicStatisticsForegroundBase.h>
#include <OpenSG/OSGViewport.h>
#include <OpenSG/OSGDrawAction.h>
#include <OsgPtrHelpers.h>

// Using =======================================================================
using namespace boost::python;

// Declarations ================================================================
namespace  {

BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS(osg_GraphicStatisticsForeground_dump_overloads_0_2, dump, 0, 2)

BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS(osg_GraphicStatisticsForeground_addElement_overloads_7_12, addElement, 7, 12)


}// namespace 


// Module ======================================================================
void Export_src_pyste_gen_GraphicStatisticsForeground()
{
    scope* osg_GraphicStatisticsForegroundBase_scope = new scope(
    class_< osg::GraphicStatisticsForegroundBase, bases< osg::StatisticsForeground > , boost::noncopyable >("GraphicStatisticsForegroundBase", no_init)
//        .def_readonly("DisplayTypeFieldMask", &osg::GraphicStatisticsForegroundBase::DisplayTypeFieldMask)
//        .def_readonly("SizeFieldMask", &osg::GraphicStatisticsForegroundBase::SizeFieldMask)
//        .def_readonly("PosFieldMask", &osg::GraphicStatisticsForegroundBase::PosFieldMask)
//        .def_readonly("ColorMaxFieldMask", &osg::GraphicStatisticsForegroundBase::ColorMaxFieldMask)
//        .def_readonly("ColorMinFieldMask", &osg::GraphicStatisticsForegroundBase::ColorMinFieldMask)
//        .def_readonly("ColorCurrentFieldMask", &osg::GraphicStatisticsForegroundBase::ColorCurrentFieldMask)
//        .def_readonly("MinValueFieldMask", &osg::GraphicStatisticsForegroundBase::MinValueFieldMask)
//        .def_readonly("MaxValueFieldMask", &osg::GraphicStatisticsForegroundBase::MaxValueFieldMask)
//        .def_readonly("FlagsFieldMask", &osg::GraphicStatisticsForegroundBase::FlagsFieldMask)
//        .def_readonly("HistorySizeFieldMask", &osg::GraphicStatisticsForegroundBase::HistorySizeFieldMask)
//        .def_readonly("DescriptionFieldMask", &osg::GraphicStatisticsForegroundBase::DescriptionFieldMask)
//        .def_readonly("LineWidthFieldMask", &osg::GraphicStatisticsForegroundBase::LineWidthFieldMask)
//        .def_readonly("BackgroundColorFieldMask", &osg::GraphicStatisticsForegroundBase::BackgroundColorFieldMask)
//        .def_readonly("TextEnabledFieldMask", &osg::GraphicStatisticsForegroundBase::TextEnabledFieldMask)
//        .def_readonly("BackgroundEnabledFieldMask", &osg::GraphicStatisticsForegroundBase::BackgroundEnabledFieldMask)
//        .def_readonly("BorderEnabledFieldMask", &osg::GraphicStatisticsForegroundBase::BorderEnabledFieldMask)
//        .def_readonly("MTInfluenceMask", &osg::GraphicStatisticsForegroundBase::MTInfluenceMask)
        .def("getClassType", &osg::GraphicStatisticsForegroundBase::getClassType, return_internal_reference< 1 >())
        .def("getClassTypeId", &osg::GraphicStatisticsForegroundBase::getClassTypeId)
        .def("getType", (osg::FieldContainerType& (osg::GraphicStatisticsForegroundBase::*)() )&osg::GraphicStatisticsForegroundBase::getType, return_internal_reference< 1 >())
        .def("getType", (const osg::FieldContainerType& (osg::GraphicStatisticsForegroundBase::*)() const)&osg::GraphicStatisticsForegroundBase::getType, return_internal_reference< 1 >())
        .def("getContainerSize", &osg::GraphicStatisticsForegroundBase::getContainerSize)
        //.def("getLineWidth", (osg::Real32& (osg::GraphicStatisticsForegroundBase::*)() )&osg::GraphicStatisticsForegroundBase::getLineWidth, return_value_policy< copy_const_reference >())
        .def("getLineWidth", (const osg::Real32& (osg::GraphicStatisticsForegroundBase::*)() const)&osg::GraphicStatisticsForegroundBase::getLineWidth, return_value_policy< copy_const_reference >())
        //.def("getBackgroundColor", (osg::Color3f& (osg::GraphicStatisticsForegroundBase::*)() )&osg::GraphicStatisticsForegroundBase::getBackgroundColor, return_value_policy< copy_const_reference >())
        .def("getBackgroundColor", (const osg::Color3f& (osg::GraphicStatisticsForegroundBase::*)() const)&osg::GraphicStatisticsForegroundBase::getBackgroundColor, return_value_policy< copy_const_reference >())
        //.def("getTextEnabled", (bool& (osg::GraphicStatisticsForegroundBase::*)() )&osg::GraphicStatisticsForegroundBase::getTextEnabled, return_value_policy< copy_const_reference >())
        .def("getTextEnabled", (const bool& (osg::GraphicStatisticsForegroundBase::*)() const)&osg::GraphicStatisticsForegroundBase::getTextEnabled, return_value_policy< copy_const_reference >())
        //.def("getBackgroundEnabled", (bool& (osg::GraphicStatisticsForegroundBase::*)() )&osg::GraphicStatisticsForegroundBase::getBackgroundEnabled, return_value_policy< copy_const_reference >())
        .def("getBackgroundEnabled", (const bool& (osg::GraphicStatisticsForegroundBase::*)() const)&osg::GraphicStatisticsForegroundBase::getBackgroundEnabled, return_value_policy< copy_const_reference >())
        //.def("getBorderEnabled", (bool& (osg::GraphicStatisticsForegroundBase::*)() )&osg::GraphicStatisticsForegroundBase::getBorderEnabled, return_value_policy< copy_const_reference >())
        .def("getBorderEnabled", (const bool& (osg::GraphicStatisticsForegroundBase::*)() const)&osg::GraphicStatisticsForegroundBase::getBorderEnabled, return_value_policy< copy_const_reference >())
        .def("getDescription", (std::string& (osg::GraphicStatisticsForegroundBase::*)(const osg::UInt32) )&osg::GraphicStatisticsForegroundBase::getDescription, return_value_policy< copy_non_const_reference >())
        //.def("getDescription", (osg::MFString& (osg::GraphicStatisticsForegroundBase::*)() )&osg::GraphicStatisticsForegroundBase::getDescription, return_value_policy< copy_const_reference >())
        .def("getDescription", (const osg::MFString& (osg::GraphicStatisticsForegroundBase::*)() const)&osg::GraphicStatisticsForegroundBase::getDescription, return_value_policy< copy_const_reference >())
        .def("setLineWidth", &osg::GraphicStatisticsForegroundBase::setLineWidth)
        .def("setBackgroundColor", &osg::GraphicStatisticsForegroundBase::setBackgroundColor)
        .def("setTextEnabled", &osg::GraphicStatisticsForegroundBase::setTextEnabled)
        .def("setBackgroundEnabled", &osg::GraphicStatisticsForegroundBase::setBackgroundEnabled)
        .def("setBorderEnabled", &osg::GraphicStatisticsForegroundBase::setBorderEnabled)
        .def("getBinSize", &osg::GraphicStatisticsForegroundBase::getBinSize)
        .def("copyToBin", &osg::GraphicStatisticsForegroundBase::copyToBin)
        .def("copyFromBin", &osg::GraphicStatisticsForegroundBase::copyFromBin)
        .def("create", &osg::GraphicStatisticsForegroundBase::create)
        .def("createEmpty", &osg::GraphicStatisticsForegroundBase::createEmpty)
        .def("shallowCopy", &osg::GraphicStatisticsForegroundBase::shallowCopy)
        .staticmethod("getClassType")
        .staticmethod("create")
        .staticmethod("createEmpty")
        .staticmethod("getClassTypeId")
    );

    scope().attr("ColorCurrentFieldId") = (int)osg::GraphicStatisticsForegroundBase::ColorCurrentFieldId;
    scope().attr("ColorMaxFieldId") = (int)osg::GraphicStatisticsForegroundBase::ColorMaxFieldId;
    scope().attr("FlagsFieldId") = (int)osg::GraphicStatisticsForegroundBase::FlagsFieldId;
    scope().attr("BackgroundEnabledFieldId") = (int)osg::GraphicStatisticsForegroundBase::BackgroundEnabledFieldId;
    scope().attr("BackgroundColorFieldId") = (int)osg::GraphicStatisticsForegroundBase::BackgroundColorFieldId;
    scope().attr("NextFieldId") = (int)osg::GraphicStatisticsForegroundBase::NextFieldId;
    scope().attr("BorderEnabledFieldId") = (int)osg::GraphicStatisticsForegroundBase::BorderEnabledFieldId;
    scope().attr("ColorMinFieldId") = (int)osg::GraphicStatisticsForegroundBase::ColorMinFieldId;
    scope().attr("TextEnabledFieldId") = (int)osg::GraphicStatisticsForegroundBase::TextEnabledFieldId;
    scope().attr("MinValueFieldId") = (int)osg::GraphicStatisticsForegroundBase::MinValueFieldId;
    scope().attr("MaxValueFieldId") = (int)osg::GraphicStatisticsForegroundBase::MaxValueFieldId;
    scope().attr("LineWidthFieldId") = (int)osg::GraphicStatisticsForegroundBase::LineWidthFieldId;
    scope().attr("DescriptionFieldId") = (int)osg::GraphicStatisticsForegroundBase::DescriptionFieldId;
    scope().attr("HistorySizeFieldId") = (int)osg::GraphicStatisticsForegroundBase::HistorySizeFieldId;
    scope().attr("SizeFieldId") = (int)osg::GraphicStatisticsForegroundBase::SizeFieldId;
    scope().attr("PosFieldId") = (int)osg::GraphicStatisticsForegroundBase::PosFieldId;
    scope().attr("DisplayTypeFieldId") = (int)osg::GraphicStatisticsForegroundBase::DisplayTypeFieldId;

    delete osg_GraphicStatisticsForegroundBase_scope;

    scope* osg_GraphicStatisticsForeground_scope = new scope(
    class_< osg::GraphicStatisticsForeground, bases< osg::GraphicStatisticsForegroundBase > , boost::noncopyable, osg::GraphicStatisticsForegroundRefPtr >("GraphicStatisticsForeground", no_init)
        .def("changed", &osg::GraphicStatisticsForeground::changed)
        .def("dump", &osg::GraphicStatisticsForeground::dump, osg_GraphicStatisticsForeground_dump_overloads_0_2())
        .def("draw", &osg::GraphicStatisticsForeground::draw)
        .def("addElement", &osg::GraphicStatisticsForeground::addElement, osg_GraphicStatisticsForeground_addElement_overloads_7_12())
        .def("removeElement", &osg::GraphicStatisticsForeground::removeElement)
    );

    enum_< osg::GraphicStatisticsForeground::Type >("Type")
        .value("OSG_BAR", osg::GraphicStatisticsForeground::OSG_BAR)
        .value("OSG_CHART", osg::GraphicStatisticsForeground::OSG_CHART)
        .value("OSG_ANALOG", osg::GraphicStatisticsForeground::OSG_ANALOG)
        .value("OSG_LINE_CHART", osg::GraphicStatisticsForeground::OSG_LINE_CHART)
        .value("OSG_TEXT", osg::GraphicStatisticsForeground::OSG_TEXT)
    ;


    enum_< osg::GraphicStatisticsForeground::Mode >("Mode")
        .value("OSG_MAX_TEXT", osg::GraphicStatisticsForeground::OSG_MAX_TEXT)
        .value("OSG_OVERFLOW_RESIZE", osg::GraphicStatisticsForeground::OSG_OVERFLOW_RESIZE)
        .value("OSG_ENABLE_POINTS", osg::GraphicStatisticsForeground::OSG_ENABLE_POINTS)
        .value("OSG_SMOOTH", osg::GraphicStatisticsForeground::OSG_SMOOTH)
        .value("OSG_UNDERFLOW_RESIZE", osg::GraphicStatisticsForeground::OSG_UNDERFLOW_RESIZE)
        .value("OSG_MIN_TEXT", osg::GraphicStatisticsForeground::OSG_MIN_TEXT)
        .value("OSG_RECIPROC", osg::GraphicStatisticsForeground::OSG_RECIPROC)
    ;


    enum_< osg::GraphicStatisticsForeground::TextHA >("TextHA")
        .value("OSG_CENTER", osg::GraphicStatisticsForeground::OSG_CENTER)
        .value("OSG_LEFT", osg::GraphicStatisticsForeground::OSG_LEFT)
        .value("OSG_RIGHT", osg::GraphicStatisticsForeground::OSG_RIGHT)
    ;


    enum_< osg::GraphicStatisticsForeground::TextVA >("TextVA")
        .value("OSG_BOTTOM", osg::GraphicStatisticsForeground::OSG_BOTTOM)
        .value("OSG_MIDDLE", osg::GraphicStatisticsForeground::OSG_MIDDLE)
        .value("OSG_TOP", osg::GraphicStatisticsForeground::OSG_TOP)
    ;

    delete osg_GraphicStatisticsForeground_scope;


    register_ptr_to_python<osg::GraphicStatisticsForegroundPtr>();
    implicitly_convertible<osg::GraphicStatisticsForegroundRefPtr, osg::GraphicStatisticsForegroundPtr>();
    implicitly_convertible<osg::GraphicStatisticsForegroundPtr, osg::StatisticsForegroundPtr>();
    
    def("RefPtr", &pyopensg::ToRefPtr<osg::GraphicStatisticsForegroundPtr>);
    def("FCPtr", &pyopensg::ToFcPtr<osg::GraphicStatisticsForegroundPtr>);
}

